import type { RecordType } from './model';

import type { PageQuery } from '#/api/common';

import { requestClient } from '#/api/request';

/**
 * 告警记录
 * @param params
 * @returns []
 */
export function getRecordList(params?: PageQuery) {
  return requestClient.get<RecordType[]>('/iot/alarm/record/page', { params });
}
